package com.zb.client;

import com.zb.dto.TbUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "user-service")
public interface TbUserFeginClient {

    @GetMapping("/tb-user-model/findname/{name}")
    public TbUserDto findName(@PathVariable("name") String name);
}
